package pt.mauromad.guias.service;

import java.util.List;

import org.springframework.stereotype.Service;

import pt.mauromad.guias.dao.manifest.ManifestDao;

@Service
public class ManifestService extends DaoService<ManifestDao, Long> {
	public ManifestService() {
		super(ManifestDao.class);
	}

	public List<ManifestDao> byUser(Long userId) {
		return list("where user_id=:0", userId);
	}
}
